package com.yangcangclub.commons.mail;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

/**
 * 
 * 简单文本邮件封装类
 * 
 */
public class SimpleMailData {
	
	/** 主题*/
	private String Subject;

	/** 内容*/
	private String content;

	/** 邮件接收方地址列表 */
	private List<String> toList = new ArrayList<String>();
	
	/** 抄送列表*/
	private List<String> ccList = new ArrayList<String>();
	
	/** 密送列表*/
	private List<String> bccList = new ArrayList<String>();

	/** 邮件附件*/
	private List<File> attachFile;

	/**
	 * 获取邮件内容
	 * @return
	 */
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * 获取邮件的主题subject
	 * @return
	 */
	public String getSubject() {
		return Subject;
	}

	public void setSubject(String subject) {
		Subject = subject;
	}

	/**
	 * 获取接收方地址列表
	 * @return
	 */
	public List<String> getToList() {
		return toList;
	}

	public void setToList(List<String> toList) {
		this.toList = toList;
	}
	
	public List<String> getCcList() {
		return ccList;
	}

	public void setCcList(List<String> ccList) {
		this.ccList = ccList;
	}

	public List<String> getBccList() {
		return bccList;
	}

	public void setBccList(List<String> bccList) {
		this.bccList = bccList;
	}

	/**
	 * 获取附件
	 * @return
	 */
	public List<File> getAttachFile() {
		return attachFile;
	}

	public void setAttachFile(List<File> attachFile) {
		this.attachFile = attachFile;
	}
}
